/**
 * For testing @EventTrigger inheritance
 */
package aspectjutil.eventmanager.testmodels;

import aspectjutil.adviseutil.Util;
import aspectjutil.eventmanager.EventInfo;
import aspectjutil.eventmanager.label.EventListener;
import aspectjutil.eventmanager.label.OnEvent;

@EventListener 
public class ChildEventRecipient3 {
	@OnEvent( value={SampleEventClass.OverridenCalculationEvent.class})
	protected void onOverridenCalculationEvent( EventInfo eventInfo) {
		EventTraceSupporter.getEventTraceList().add( 
				Util.getCallingMethodInfo( Thread.currentThread().getStackTrace(), 1, 1).get( 0)
				);
		EventTraceSupporter.saveEventInfo( eventInfo);
	}
}